package com.sxg.convert;

import com.sxg.entity.SxgOrderEntity;
import com.sxg.vo.SxgOrderVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 订单表
*
* @author 浪漫写尽歌谱 3298751420@qq.com
* @since 1.0.0 2024-03-07
*/
@Mapper
public interface SxgOrderConvert {
    SxgOrderConvert INSTANCE = Mappers.getMapper(SxgOrderConvert.class);

    SxgOrderEntity convert(SxgOrderVO vo);

    SxgOrderVO convert(SxgOrderEntity entity);

    List<SxgOrderVO> convertList(List<SxgOrderEntity> list);

}